merge deb/emacs23/d/sid/dpm-patched into deb/emacs23/d/sid/master
authorRob Browning <rlb@defaultvalue.org>
Tue, 5 Apr 2011 04:02:03 +0000 (23:02 -0500)
committerRob Browning <rlb@defaultvalue.org>
Fri, 8 Apr 2011 02:26:07 +0000 (21:26 -0500)
13 files changed:
1  2 
debian/.git-dpm
debian/patches/0001-Prefer-usr-share-info-emacs-23-over-usr-share-info.patch
debian/patches/0002-Run-debian-startup-and-set-debian-emacs-flavor.patch
debian/patches/0003-Remove-files-that-appear-to-be-incompatible-with-the.patch
debian/patches/0004-Adjust-documentation-references-for-Debian.patch
debian/patches/0005-Cause-the-build-to-fail-if-liblockfile-isn-t-selecte.patch
debian/patches/0006-Avoid-silently-losing-mail-via-fakemail.patch
debian/patches/0007-Modify-the-output-of-version-to-indicate-Debian-modi.patch
debian/patches/0008-Look-for-NEWS-in-order-to-find-etc-rather-than-GNU.patch
debian/patches/0009-Invoke-the-correct-xmlstarlet-executable-on-Debian-s.patch
debian/patches/0010-Fix-startup-hang-on-Debian-GNU-kFreeBSD.patch
debian/patches/0011-Don-t-clear-FONTCONFIG_LIBS-and-FONTCONFIG_CFLAGS-in.patch
debian/patches/series

diff --cc debian/.git-dpm
index 7bf5d4a62834fee0c68f4a88195db57932aa30df,0000000000000000000000000000000000000000..9e8428653eba82d2a6fec53e8edc464aca8d9ad0
mode 100644,000000..100644
--- /dev/null
@@@ -1,8 -1,0 +1,8 @@@
- 9912f34116800059da8d5dc65df7b5863ea923bf
- 9912f34116800059da8d5dc65df7b5863ea923bf
- 2fe1e45581c037e7a4318690565a826355763aed
 +# see git-dpm(1) from git-dpm package
++c58e9cd9eb3d4b49b97548cd9986743bcc9a9370
++c58e9cd9eb3d4b49b97548cd9986743bcc9a9370
++7aee3de6fd6bca44751754b10a338947fa947b1c
 +7aee3de6fd6bca44751754b10a338947fa947b1c
 +emacs23_23.3+1.orig.tar.bz2
 +80b3822579eddfc120641c5a181eb0b5c7a0667d
 +23065394
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f2da2e3c2a406f129e9c055ccad8e5b602c7f0ae
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,35 @@@
++From 207579eda5c7603a93d3f0ffed09596850e33ace Mon Sep 17 00:00:00 2001
++From: Rob Browning <rlb@defaultvalue.org>
++Date: Mon, 4 Apr 2011 22:46:21 -0500
++Subject: Prefer /usr/share/info/emacs-23 over /usr/share/info.
++
++Emacs will prefer /usr/share/info/emacs-23 over /usr/share/info.
++
++The value of Info-default-directory-list has been augmented via
++site-init.el to include /usr/share/info/emacs-23 before
++/usr/share/info.
++---
++ lisp/site-init.el |   11 +++++++++++
++ 1 files changed, 11 insertions(+), 0 deletions(-)
++ create mode 100644 lisp/site-init.el
++
++diff --git a/lisp/site-init.el b/lisp/site-init.el
++new file mode 100644
++index 0000000..d8d6256
++--- /dev/null
+++++ b/lisp/site-init.el
++@@ -0,0 +1,11 @@
+++
+++;; Add the flavor specific directory for Debian.
+++(setq Info-default-directory-list
+++      (let ((result nil)
+++            (found-match nil))
+++        (dolist (elt Info-default-directory-list (nreverse result))
+++          (if (and (not found-match) (equal elt "/usr/share/info/"))
+++              (progn
+++                (push "/usr/share/info/emacs-23" result)
+++                (setq found-match t)))
+++          (push elt result))))
++-- 
++1.7.4.1
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..b101fe95afa7155f71d0d645b9a568f3babf04c2
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,58 @@@
++From 949a2c6776362b398896f819bbac67c0c3a2728b Mon Sep 17 00:00:00 2001
++From: Rob Browning <rlb@defaultvalue.org>
++Date: Mon, 4 Apr 2011 22:46:22 -0500
++Subject: Run debian-startup and set debian-emacs-flavor.
++
++Emacs runs debian-startup and sets debian-emacs-flavor.
++
++* Emacs runs debian-startup during the startup process unless
++  site-run-file is false.
++
++* The global variable debian-emacs-flavor is bound to 'emacs23.
++  Author: Rob Browning <rlb@defaultvalue.org>
++---
++ lisp/startup.el |   21 +++++++++++++++++++--
++ 1 files changed, 19 insertions(+), 2 deletions(-)
++
++diff --git a/lisp/startup.el b/lisp/startup.el
++index 471b688..a77e3fa 100644
++--- a/lisp/startup.el
+++++ b/lisp/startup.el
++@@ -393,6 +393,10 @@ Warning Warning!!!  Pure space overflow    !!!Warning Warning
++   :type 'directory
++   :initialize 'custom-initialize-delay)
++ 
+++(defconst debian-emacs-flavor 'emacs23
+++  "A symbol representing the particular debian flavor of emacs running.
+++Something like 'emacs20, 'xemacs20, etc.")
+++
++ (defun normal-top-level-add-subdirs-to-load-path ()
++   "Add all subdirectories of current directory to `load-path'.
++ More precisely, this uses only the subdirectories whose names
++@@ -955,8 +959,21 @@ opening the first frame (e.g. open a connection to an X server).")
++     ;; be loaded from site-run-file and wants to test if -q was given
++     ;; should check init-file-user instead, since that is already set.
++     ;; See cus-edit.el for an example.
++-    (if site-run-file
++-     (load site-run-file t t))
+++
+++    ;; Original upstream startup
+++    ;; (if site-run-file
+++    ;;     (load site-run-file t t))
+++    ;;
+++
+++    ;; Debian startup
+++     (if site-run-file
+++        (progn
+++          ;; Load all the debian package snippets.
+++          ;; It's in here because we want -q to kill it too.
+++          (if (load "debian-startup" t t nil)
+++              (debian-startup debian-emacs-flavor))
+++          ;; Now the normal site file...
+++          (load site-run-file t t nil)))
++ 
++     ;; Sites should not disable this.  Only individuals should disable
++     ;; the startup screen.
++-- 
++1.7.4.1
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..28daf7312f392895a4365b1f094bd3000bf628d2
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,704 @@@
++From c182c7be6589ad19958a76596b2d215fb6017ec3 Mon Sep 17 00:00:00 2001
++From: Rob Browning <rlb@defaultvalue.org>
++Date: Mon, 4 Apr 2011 22:46:24 -0500
++Subject: Remove files that appear to be incompatible with the DFSG.
++
++Files that appear to be incompatible with the DFSG have been removed.
++
++A number of files have been removed from this package because their
++licenses are not compatible with the Debian Free Software Guidelines
++(DFSG), or because it wasn't completely clear that their licenses are
++compatible.
++
++In particular, all of the files which are covered under the GFDL and
++have invariant sections have been removed in accordance with this
++General Resolution: http://www.debian.org/vote/2006/vote_001.
++
++The files that have been removed, but still appear to be
++distributable, have been moved to packages in Debian's non-free
++section.
++
++Author: Rob Browning <rlb@defaultvalue.org>
++Added-by: Rob Browning <rlb@defaultvalue.org>
++Status: new
++---
++ Makefile.in          |   30 +---
++ configure.in         |    4 +-
++ doc/misc/Makefile.in |  490 +-------------------------------------------------
++ lisp/help.el         |   10 +-
++ 4 files changed, 16 insertions(+), 518 deletions(-)
++
++diff --git a/Makefile.in b/Makefile.in
++index 32a09ff..41cf979 100644
++--- a/Makefile.in
+++++ b/Makefile.in
++@@ -139,12 +139,7 @@ MAN_PAGES=b2m.1 ctags.1 ebrowse.1 emacs.1 emacsclient.1 etags.1 \
++ # since there are now many packages documented with the texinfo
++ # system, it is inappropriate to imply that it is part of Emacs.
++ infodir=@infodir@
++-INFO_FILES=ada-mode auth autotype calc ccmode cl dbus dired-x ebrowse        \
++-           ede ediff edt eieio efaq eintr elisp emacs emacs-mime epa erc \
++-        eshell eudc flymake forms gnus idlwave info mairix-el        \
++-        message mh-e newsticker nxml-mode org pcl-cvs pgg rcirc      \
++-        reftex remember sasl sc semantic ses sieve smtpmail speedbar \
++-        tramp url vip viper widget woman
+++INFO_FILES=efaq
++ 
++ # Directory for local state files for all programs.
++ localstatedir=@localstatedir@
++@@ -270,7 +265,7 @@ EMACSFULL = `echo emacs-${version}${EXEEXT} | sed '$(TRANSFORM)'`
++ SUBDIR = lib-src src lisp
++ 
++ # The subdir makefiles created by config.status.
++-SUBDIR_MAKEFILES = lib-src/Makefile doc/emacs/Makefile doc/misc/Makefile doc/lispref/Makefile doc/lispintro/Makefile src/Makefile oldXMenu/Makefile lwlib/Makefile leim/Makefile lisp/Makefile
+++SUBDIR_MAKEFILES = lib-src/Makefile doc/misc/Makefile src/Makefile oldXMenu/Makefile lwlib/Makefile leim/Makefile lisp/Makefile
++ 
++ # Subdirectories to install, and where they'll go.
++ # lib-src's makefile knows how to install it, so we don't do that here.
++@@ -357,10 +352,7 @@ Makefile: config.status $(srcdir)/src/config.in \
++           $(srcdir)/Makefile.in \
++           $(srcdir)/src/Makefile.in \
++           $(srcdir)/lib-src/Makefile.in \
++-          $(srcdir)/doc/emacs/Makefile.in \
++           $(srcdir)/doc/misc/Makefile.in \
++-          $(srcdir)/doc/lispref/Makefile.in \
++-          $(srcdir)/doc/lispintro/Makefile.in \
++           $(srcdir)/oldXMenu/Makefile.in \
++           $(srcdir)/lwlib/Makefile.in \
++           $(srcdir)/leim/Makefile.in \
++@@ -701,10 +693,7 @@ mostlyclean: FRC
++      (cd oldXMenu; $(MAKE) $(MFLAGS) mostlyclean)
++      (cd lwlib;    $(MAKE) $(MFLAGS) mostlyclean)
++      (cd lib-src;  $(MAKE) $(MFLAGS) mostlyclean)
++-     -(cd doc/emacs &&   $(MAKE) $(MFLAGS) mostlyclean)
++      -(cd doc/misc &&   $(MAKE) $(MFLAGS) mostlyclean)
++-     -(cd doc/lispref &&   $(MAKE) $(MFLAGS) mostlyclean)
++-     -(cd doc/lispintro &&   $(MAKE) $(MFLAGS) mostlyclean)
++      (cd leim;     $(MAKE) $(MFLAGS) mostlyclean)
++ 
++ ### `clean'
++@@ -720,10 +709,7 @@ clean: FRC
++      (cd oldXMenu; $(MAKE) $(MFLAGS) clean)
++      (cd lwlib;    $(MAKE) $(MFLAGS) clean)
++      (cd lib-src;  $(MAKE) $(MFLAGS) clean)
++-     -(cd doc/emacs &&   $(MAKE) $(MFLAGS) clean)
++      -(cd doc/misc &&   $(MAKE) $(MFLAGS) clean)
++-     -(cd doc/lispref &&   $(MAKE) $(MFLAGS) clean)
++-     -(cd doc/lispintro &&   $(MAKE) $(MFLAGS) clean)
++      (cd leim;     $(MAKE) $(MFLAGS) clean)
++ 
++ ### `bootclean'
++@@ -744,10 +730,7 @@ distclean: FRC
++      (cd oldXMenu; $(MAKE) $(MFLAGS) distclean)
++      (cd lwlib;    $(MAKE) $(MFLAGS) distclean)
++      (cd lib-src;  $(MAKE) $(MFLAGS) distclean)
++-     (cd doc/emacs &&    $(MAKE) $(MFLAGS) distclean)
++      (cd doc/misc &&    $(MAKE) $(MFLAGS) distclean)
++-     (cd doc/lispref &&    $(MAKE) $(MFLAGS) distclean)
++-     (cd doc/lispintro &&    $(MAKE) $(MFLAGS) distclean)
++      (cd leim;     $(MAKE) $(MFLAGS) distclean)
++      (cd lisp;     $(MAKE) $(MFLAGS) distclean)
++      ${top_distclean}
++@@ -760,10 +743,7 @@ bootstrap-clean: FRC
++      (cd oldXMenu; $(MAKE) $(MFLAGS) maintainer-clean)
++      (cd lwlib;    $(MAKE) $(MFLAGS) maintainer-clean)
++      (cd lib-src;  $(MAKE) $(MFLAGS) maintainer-clean)
++-     -(cd doc/emacs &&   $(MAKE) $(MFLAGS) maintainer-clean)
++      -(cd doc/misc &&   $(MAKE) $(MFLAGS) maintainer-clean)
++-     -(cd doc/lispref &&   $(MAKE) $(MFLAGS) maintainer-clean)
++-     -(cd doc/lispintro &&   $(MAKE) $(MFLAGS) maintainer-clean)
++      (cd leim;     $(MAKE) $(MFLAGS) maintainer-clean)
++      (cd lisp;     $(MAKE) $(MFLAGS) bootstrap-clean)
++      ${top_bootclean}
++@@ -808,10 +788,7 @@ dist:
++ .PHONY: info dvi dist check html
++ 
++ info-real: 
++-     (cd doc/emacs; $(MAKE) $(MFLAGS) info)
++      (cd doc/misc; $(MAKE) $(MFLAGS) info)
++-     (cd doc/lispref; $(MAKE) $(MFLAGS) info)
++-     (cd doc/lispintro; $(MAKE) $(MFLAGS) info)
++ 
++ force-info:
++ # Note that man/Makefile knows how to put the info files in $(srcdir),
++@@ -850,10 +827,7 @@ check-info-dir: info
++      echo "info/dir is OK"
++ 
++ dvi:
++-     (cd doc/emacs; $(MAKE) $(MFLAGS) dvi)
++      (cd doc/misc; $(MAKE) $(MFLAGS) dvi)
++-     (cd doc/lispref; $(MAKE) $(MFLAGS) elisp.dvi)
++-     (cd doc/lispintro; $(MAKE) $(MFLAGS) emacs-lisp-intro.dvi)
++ 
++ #### Bootstrapping.
++ 
++diff --git a/configure.in b/configure.in
++index 275e812..baacfe4 100644
++--- a/configure.in
+++++ b/configure.in
++@@ -3118,8 +3118,8 @@ AC_EGREP_CPP(yes..yes,
++      CPP_NEED_TRADITIONAL=yes)
++ 
++ AC_OUTPUT(Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile \
++-     doc/emacs/Makefile doc/misc/Makefile doc/lispintro/Makefile \
++-     doc/lispref/Makefile src/Makefile.c:src/Makefile.in \
+++     doc/misc/Makefile \
+++     src/Makefile.c:src/Makefile.in \
++      lwlib/Makefile lisp/Makefile leim/Makefile, [
++ 
++ ### Make the necessary directories, if they don't exist.
++diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in
++index 9e93be4..b1dd019 100644
++--- a/doc/misc/Makefile.in
+++++ b/doc/misc/Makefile.in
++@@ -38,104 +38,10 @@ MAKEINFO = makeinfo --force
++ 
++ # Also add new entries to INFO_FILES in the top-level Makefile.in.
++ INFO_TARGETS = \
++-     $(infodir)/ada-mode \
++-     $(infodir)/auth \
++-     $(infodir)/autotype \
++-     $(infodir)/calc \
++-     $(infodir)/ccmode \
++-     $(infodir)/cl \
++-     $(infodir)/dbus \
++-     $(infodir)/dired-x \
++-     $(infodir)/ebrowse \
++-     $(infodir)/ede \
++-     $(infodir)/ediff \
++-     $(infodir)/edt \
++-     $(infodir)/eieio \
++-     $(infodir)/emacs-mime \
++-     $(infodir)/epa \
++-     $(infodir)/erc \
++-     $(infodir)/eshell \
++-     $(infodir)/eudc \
++-     $(infodir)/efaq \
++-     $(infodir)/flymake \
++-     $(infodir)/forms \
++-     $(infodir)/gnus \
++-     $(infodir)/idlwave \
++-     $(infodir)/info \
++-     $(infodir)/mairix-el \
++-     $(infodir)/message \
++-     $(infodir)/mh-e \
++-     $(infodir)/newsticker \
++-     $(infodir)/nxml-mode \
++-     $(infodir)/org \
++-     $(infodir)/pcl-cvs \
++-     $(infodir)/pgg \
++-     $(infodir)/rcirc \
++-     $(infodir)/remember \
++-     $(infodir)/reftex \
++-     $(infodir)/sasl \
++-     $(infodir)/sc \
++-     $(infodir)/semantic \
++-     $(infodir)/ses \
++-     $(infodir)/sieve \
++-     $(infodir)/smtpmail \
++-     $(infodir)/speedbar \
++-     $(infodir)/tramp \
++-     $(infodir)/url \
++-     $(infodir)/vip \
++-     $(infodir)/viper \
++-     $(infodir)/widget \
++-     $(infodir)/woman
+++     $(infodir)/efaq
++ 
++ DVI_TARGETS = \
++-     ada-mode.dvi \
++-     auth.dvi \
++-     autotype.dvi \
++-     calc.dvi \
++-     cc-mode.dvi \
++-     cl.dvi \
++-     dbus.dvi \
++-     dired-x.dvi \
++-     ebrowse.dvi \
++-     ede.dvi \
++-     ediff.dvi \
++-     edt.dvi \
++-     eieio.dvi \
++-     emacs-mime.dvi \
++-     epa.dvi \
++-     erc.dvi \
++-     eshell.dvi \
++-     eudc.dvi \
++-     faq.dvi \
++-     flymake.dvi \
++-     forms.dvi \
++-     gnus.dvi \
++-     idlwave.dvi \
++-     info.dvi \
++-     mairix-el.dvi \
++-     message.dvi \
++-     mh-e.dvi \
++-     newsticker.dvi \
++-     nxml-mode.dvi \
++-     org.dvi \
++-     pcl-cvs.dvi \
++-     pgg.dvi \
++-     rcirc.dvi \
++-     reftex.dvi \
++-     remember.dvi \
++-     sasl.dvi \
++-     sc.dvi \
++-     semantic.dvi \
++-     ses.dvi \
++-     sieve.dvi \
++-     smtpmail.dvi \
++-     speedbar.dvi \
++-     tramp.dvi \
++-     url.dvi \
++-     vip.dvi \
++-     viper.dvi \
++-     widget.dvi \
++-     woman.dvi
+++     faq.dvi
++ 
++ PDF_TARGETS = \
++      ada-mode.pdf \
++@@ -198,10 +104,7 @@ TEXI2PDF = texi2pdf
++ ENVADD = TEXINPUTS="$(srcdir):$(TEXINPUTS)" MAKEINFO="$(MAKEINFO) -I$(srcdir)"
++ 
++ 
++-info: $(infodir) $(INFO_TARGETS)
++-
++-$(infodir):
++-     mkdir $@
+++info: $(INFO_TARGETS)
++ 
++ dvi: $(DVI_TARGETS)
++ 
++@@ -213,150 +116,6 @@ pdf: $(PDF_TARGETS)
++ # In a distribution of Emacs, the Info files should be up to date.
++ 
++ ## "short" target names for convenience, to just rebuild one manual.
++-ada-mode : $(infodir)/ada-mode
++-$(infodir)/ada-mode: ada-mode.texi
++-     cd $(srcdir); $(MAKEINFO) ada-mode.texi
++-ada-mode.dvi: ada-mode.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/ada-mode.texi
++-ada-mode.pdf: ada-mode.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/ada-mode.texi
++-
++-auth : $(infodir)/auth
++-$(infodir)/auth: auth.texi
++-     cd $(srcdir); $(MAKEINFO) auth.texi
++-auth.dvi: auth.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/auth.texi
++-auth.pdf: auth.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/auth.texi
++-
++-autotype : $(infodir)/autotype
++-$(infodir)/autotype: autotype.texi
++-     cd $(srcdir); $(MAKEINFO) autotype.texi
++-autotype.dvi: autotype.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/autotype.texi
++-autotype.pdf: autotype.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/autotype.texi
++-
++-calc : $(infodir)/calc
++-$(infodir)/calc: calc.texi
++-     cd $(srcdir); $(MAKEINFO) calc.texi
++-calc.dvi: calc.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/calc.texi
++-calc.pdf: calc.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/calc.texi
++-
++-ccmode : $(infodir)/ccmode
++-$(infodir)/ccmode: cc-mode.texi
++-     cd $(srcdir); $(MAKEINFO) cc-mode.texi
++-cc-mode.dvi: cc-mode.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/cc-mode.texi
++-cc-mode.pdf: cc-mode.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/cc-mode.texi
++-
++-cl : $(infodir)/cl
++-$(infodir)/cl: cl.texi
++-     cd $(srcdir); $(MAKEINFO) cl.texi
++-cl.dvi: cl.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/cl.texi
++-cl.pdf: cl.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/cl.texi
++-
++-dbus : $(infodir)/dbus
++-$(infodir)/dbus: dbus.texi
++-     cd $(srcdir); $(MAKEINFO) dbus.texi
++-dbus.dvi: dbus.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/dbus.texi
++-dbus.pdf: dbus.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/dbus.texi
++-
++-dired-x : $(infodir)/dired-x
++-$(infodir)/dired-x: dired-x.texi
++-     cd $(srcdir); $(MAKEINFO) dired-x.texi
++-dired-x.dvi: dired-x.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/dired-x.texi
++-dired-x.pdf: dired-x.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/dired-x.texi
++-
++-ebrowse : $(infodir)/ebrowse
++-$(infodir)/ebrowse: ebrowse.texi
++-     cd $(srcdir); $(MAKEINFO) ebrowse.texi
++-ebrowse.dvi: ebrowse.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/ebrowse.texi
++-ebrowse.pdf: ebrowse.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/ebrowse.texi
++-
++-ede : $(infodir)/ede
++-$(infodir)/ede: ede.texi
++-     cd $(srcdir); $(MAKEINFO) ede.texi
++-ede.dvi: ede.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/ede.texi
++-ede.pdf: ede.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/ede.texi
++-
++-ediff : $(infodir)/ediff
++-$(infodir)/ediff: ediff.texi
++-     cd $(srcdir); $(MAKEINFO) ediff.texi
++-ediff.dvi: ediff.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/ediff.texi
++-ediff.pdf: ediff.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/ediff.texi
++-
++-edt : $(infodir)/edt
++-$(infodir)/edt: edt.texi
++-     cd $(srcdir); $(MAKEINFO) edt.texi
++-edt.dvi: edt.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/edt.texi
++-edt.pdf: edt.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/edt.texi
++-
++-eieio : $(infodir)/eieio
++-$(infodir)/eieio: eieio.texi
++-     cd $(srcdir); $(MAKEINFO) eieio.texi
++-eieio.dvi: eieio.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/eieio.texi
++-eieio.pdf: eieio.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/eieio.texi
++-
++-emacs-mime : $(infodir)/emacs-mime
++-$(infodir)/emacs-mime: emacs-mime.texi
++-     cd $(srcdir); $(MAKEINFO) --enable-encoding emacs-mime.texi
++-emacs-mime.dvi: emacs-mime.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-mime.texi
++-emacs-mime.pdf: emacs-mime.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-mime.texi
++-
++-epa : $(infodir)/epa
++-$(infodir)/epa: epa.texi
++-     cd $(srcdir); $(MAKEINFO) epa.texi
++-epa.dvi: epa.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/epa.texi
++-epa.pdf: epa.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/epa.texi
++-
++-erc : $(infodir)/erc
++-$(infodir)/erc: erc.texi
++-     cd $(srcdir); $(MAKEINFO) erc.texi
++-erc.dvi: erc.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/erc.texi
++-erc.pdf: erc.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/erc.texi
++-
++-eshell : $(infodir)/eshell
++-$(infodir)/eshell: eshell.texi
++-     cd $(srcdir); $(MAKEINFO) eshell.texi
++-eshell.dvi: eshell.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/eshell.texi
++-eshell.pdf: eshell.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/eshell.texi
++-
++-eudc : $(infodir)/eudc
++-$(infodir)/eudc: eudc.texi
++-     cd $(srcdir); $(MAKEINFO) eudc.texi
++-eudc.dvi: eudc.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/eudc.texi
++-eudc.pdf: eudc.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/eudc.texi
++-
++ efaq : $(infodir)/efaq
++ $(infodir)/efaq: faq.texi
++      cd $(srcdir); $(MAKEINFO) faq.texi
++@@ -365,249 +124,6 @@ faq.dvi: faq.texi
++ faq.pdf: faq.texi
++      $(ENVADD) $(TEXI2PDF) ${srcdir}/faq.texi
++ 
++-flymake : $(infodir)/flymake
++-$(infodir)/flymake: flymake.texi
++-     cd $(srcdir); $(MAKEINFO) flymake.texi
++-flymake.dvi: flymake.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/flymake.texi
++-flymake.pdf: flymake.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/flymake.texi
++-
++-forms : $(infodir)/forms
++-$(infodir)/forms: forms.texi
++-     cd $(srcdir); $(MAKEINFO) forms.texi
++-forms.dvi: forms.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/forms.texi
++-forms.pdf: forms.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/forms.texi
++-
++-# gnus/message/emacs-mime/sieve/pgg are part of Gnus:
++-gnus : $(infodir)/gnus
++-$(infodir)/gnus: gnus.texi gnus-faq.texi
++-     cd $(srcdir); $(MAKEINFO) gnus.texi
++-gnus.dvi: gnus.texi gnus-faq.texi
++-     sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi
++-     $(ENVADD) $(TEXI2DVI) gnustmp.texi
++-     cp gnustmp.dvi $*.dvi
++-     rm gnustmp.*
++-gnus.pdf: gnus.texi gnus-faq.texi
++-     sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi
++-     $(ENVADD) $(TEXI2PDF) gnustmp.texi
++-     cp gnustmp.pdf $@
++-     rm gnustmp.*
++-
++-# This is produced with --no-split to avoid making files whose
++-# names clash on DOS 8+3 filesystems
++-idlwave : $(infodir)/idlwave
++-$(infodir)/idlwave: idlwave.texi
++-     cd $(srcdir); $(MAKEINFO) --no-split idlwave.texi
++-idlwave.dvi: idlwave.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/idlwave.texi
++-idlwave.pdf: idlwave.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/idlwave.texi
++-
++-# The following target uses an explicit -o switch to work around
++-# the @setfilename directive in info.texi, which is required for
++-# the Texinfo distribution.
++-###info : $(infodir)/info   # circular!
++-$(infodir)/info: info.texi
++-     cd $(srcdir); $(MAKEINFO) --no-split info.texi -o $@
++-info.dvi: info.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/info.texi
++-info.pdf: info.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/info.texi
++-
++-mairix-el : $(infodir)/mairix-el
++-$(infodir)/mairix-el: mairix-el.texi
++-     cd $(srcdir); $(MAKEINFO) mairix-el.texi
++-mairix-el.dvi: mairix-el.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/mairix-el.texi
++-mairix-el.pdf: mairix-el.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/mairix-el.texi
++-
++-message : $(infodir)/message
++-$(infodir)/message: message.texi
++-     cd $(srcdir); $(MAKEINFO) message.texi
++-message.dvi: message.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/message.texi
++-message.pdf: message.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/message.texi
++-
++-mh-e : $(infodir)/mh-e
++-$(infodir)/mh-e: mh-e.texi
++-     cd $(srcdir); $(MAKEINFO) mh-e.texi
++-mh-e.dvi: mh-e.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/mh-e.texi
++-mh-e.pdf: mh-e.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/mh-e.texi
++-
++-newsticker : $(infodir)/newsticker
++-$(infodir)/newsticker: newsticker.texi
++-     cd $(srcdir); $(MAKEINFO) newsticker.texi
++-newsticker.dvi: newsticker.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/newsticker.texi
++-newsticker.pdf: newsticker.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/newsticker.texi
++-
++-nxml-mode : $(infodir)/nxml-mode
++-$(infodir)/nxml-mode: nxml-mode.texi
++-     cd $(srcdir); $(MAKEINFO) nxml-mode.texi
++-nxml-mode.dvi: nxml-mode.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/nxml-mode.texi
++-nxml-mode.pdf: nxml-mode.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/nxml-mode.texi
++-
++-org : $(infodir)/org
++-$(infodir)/org: org.texi
++-     cd $(srcdir); $(MAKEINFO) org.texi
++-org.dvi: org.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/org.texi
++-org.pdf: org.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/org.texi
++-
++-pcl-cvs : $(infodir)/pcl-cvs
++-$(infodir)/pcl-cvs: pcl-cvs.texi
++-     cd $(srcdir); $(MAKEINFO) pcl-cvs.texi
++-pcl-cvs.dvi: pcl-cvs.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/pcl-cvs.texi
++-pcl-cvs.pdf: pcl-cvs.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/pcl-cvs.texi
++-
++-pgg : $(infodir)/pgg
++-$(infodir)/pgg: pgg.texi
++-     cd $(srcdir); $(MAKEINFO) pgg.texi
++-pgg.dvi: pgg.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/pgg.texi
++-pgg.pdf: pgg.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/pgg.texi
++-
++-rcirc : $(infodir)/rcirc
++-$(infodir)/rcirc: rcirc.texi
++-     cd $(srcdir); $(MAKEINFO) rcirc.texi
++-rcirc.dvi: rcirc.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/rcirc.texi
++-rcirc.pdf: rcirc.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/rcirc.texi
++-
++-reftex : $(infodir)/reftex
++-$(infodir)/reftex: reftex.texi
++-     cd $(srcdir); $(MAKEINFO) reftex.texi
++-reftex.dvi: reftex.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/reftex.texi
++-reftex.pdf: reftex.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/reftex.texi
++-
++-remember : $(infodir)/remember
++-$(infodir)/remember: remember.texi
++-     cd $(srcdir); $(MAKEINFO) remember.texi
++-remember.dvi: remember.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/remember.texi
++-remember.pdf: remember.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/remember.texi
++-
++-sasl : $(infodir)/sasl
++-$(infodir)/sasl: sasl.texi
++-     cd $(srcdir); $(MAKEINFO) sasl.texi
++-sasl.dvi: sasl.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/sasl.texi
++-sasl.pdf: sasl.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/sasl.texi
++-
++-sc : $(infodir)/sc
++-$(infodir)/sc: sc.texi
++-     cd $(srcdir); $(MAKEINFO) sc.texi
++-sc.dvi: sc.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/sc.texi
++-sc.pdf: sc.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/sc.texi
++-
++-semantic : $(infodir)/semantic
++-$(infodir)/semantic: semantic.texi sem-user.texi
++-     cd $(srcdir); $(MAKEINFO) semantic.texi
++-semantic.dvi: semantic.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/semantic.texi
++-semantic.pdf: semantic.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/semantic.texi
++-
++-ses : $(infodir)/ses
++-$(infodir)/ses: ses.texi
++-     cd $(srcdir); $(MAKEINFO) ses.texi
++-ses.dvi: ses.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/ses.texi
++-ses.pdf: ses.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/ses.texi
++-
++-sieve : $(infodir)/sieve
++-$(infodir)/sieve: sieve.texi
++-     cd $(srcdir); $(MAKEINFO) sieve.texi
++-sieve.dvi: sieve.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/sieve.texi
++-sieve.pdf: sieve.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/sieve.texi
++-
++-smtpmail : $(infodir)/smtpmail
++-$(infodir)/smtpmail: smtpmail.texi
++-     cd $(srcdir); $(MAKEINFO) smtpmail.texi
++-smtpmail.dvi: smtpmail.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/smtpmail.texi
++-smtpmail.pdf: smtpmail.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/smtpmail.texi
++-
++-speedbar : $(infodir)/speedbar
++-$(infodir)/speedbar: speedbar.texi
++-     cd $(srcdir); $(MAKEINFO) speedbar.texi
++-speedbar.dvi: speedbar.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/speedbar.texi
++-speedbar.pdf: speedbar.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/speedbar.texi
++-
++-tramp : $(infodir)/tramp
++-$(infodir)/tramp: tramp.texi trampver.texi
++-     cd $(srcdir); $(MAKEINFO) -D emacs tramp.texi
++-tramp.dvi: tramp.texi trampver.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/tramp.texi
++-tramp.pdf: tramp.texi trampver.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/tramp.texi
++-
++-url : $(infodir)/url
++-$(infodir)/url: url.texi
++-     cd $(srcdir); $(MAKEINFO) url.texi
++-url.dvi: url.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/url.texi
++-url.pdf: url.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/url.texi
++-
++-vip : $(infodir)/vip
++-$(infodir)/vip: vip.texi
++-     cd $(srcdir); $(MAKEINFO) vip.texi
++-vip.dvi: vip.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/vip.texi
++-vip.pdf: vip.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/vip.texi
++-
++-viper : $(infodir)/viper
++-$(infodir)/viper: viper.texi
++-     cd $(srcdir); $(MAKEINFO) viper.texi
++-viper.dvi: viper.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/viper.texi
++-viper.pdf: viper.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/viper.texi
++-
++-widget : $(infodir)/widget
++-$(infodir)/widget: widget.texi
++-     cd $(srcdir); $(MAKEINFO) widget.texi
++-widget.dvi: widget.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/widget.texi
++-widget.pdf: widget.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/widget.texi
++-
++-woman : $(infodir)/woman
++-$(infodir)/woman: woman.texi
++-     cd $(srcdir); $(MAKEINFO) woman.texi
++-woman.dvi: woman.texi
++-     $(ENVADD) $(TEXI2DVI) ${srcdir}/woman.texi
++-woman.pdf: woman.texi
++-     $(ENVADD) $(TEXI2PDF) ${srcdir}/woman.texi
++ 
++ 
++ mostlyclean:
++diff --git a/lisp/help.el b/lisp/help.el
++index 97690ea..482b4a1 100644
++--- a/lisp/help.el
+++++ b/lisp/help.el
++@@ -301,6 +301,14 @@ If that doesn't give a function, return nil."
++   (goto-address-mode 1)
++   (goto-char (point-min)))
++ 
+++(defun debian-expand-file-name-dfsg (filename)
+++  "Apply expand-file-name to FILENAME.
+++If expand-file-name does not find a file, append `.dfsg' and try again."
+++  (let ((file (expand-file-name filename data-directory)))
+++    (if (file-exists-p file)
+++        file
+++      (expand-file-name (concat file ".dfsg") data-directory))))
+++
++ (defun describe-distribution ()
++   "Display info on how to obtain the latest version of GNU Emacs."
++   (interactive)
++@@ -314,7 +322,7 @@ If that doesn't give a function, return nil."
++ (defun describe-gnu-project ()
++   "Display info on the GNU project."
++   (interactive)
++-  (view-help-file "THE-GNU-PROJECT"))
+++  (view-help-file (debian-expand-file-name-dfsg "THE-GNU-PROJECT")))
++ 
++ (define-obsolete-function-alias 'describe-project 'describe-gnu-project "22.2")
++ 
++-- 
++1.7.4.1
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..1e0b32527be36de5a20cfa767872a8518610a098
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,32 @@@
++From 173ac6bf5b4001dee0bf22491df502c6e4d12588 Mon Sep 17 00:00:00 2001
++From: Rob Browning <rlb@defaultvalue.org>
++Date: Mon, 4 Apr 2011 22:46:25 -0500
++Subject: Adjust documentation references for Debian.
++
++Various documentation references have been adjusted for Debian.
++
++References to /usr/local/... have been changed to /usr/... as
++appropriate, etc.
++---
++ etc/NEWS |    5 +++++
++ 1 files changed, 5 insertions(+), 0 deletions(-)
++
++diff --git a/etc/NEWS b/etc/NEWS
++index 7c5c4be..ef968cf 100644
++--- a/etc/NEWS
+++++ b/etc/NEWS
++@@ -14,6 +14,11 @@ for changes in older Emacs versions.
++ You can narrow news to a specific version by calling `view-emacs-news'
++ with a prefix argument or by typing C-u C-h C-n.
++ 
+++ \f
+++* Debian specific changes to Emacs
+++
+++Please see /usr/share/doc/emacs23-common/README.Debian.gz.
+++
++ \f
++ * Installation Changes in Emacs 23.3
++ 
++-- 
++1.7.4.1
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f34d19afa558f433e9b61e65bd0350bd5d973a1f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,52 @@@
++From 0f624911022e9a8a544eb527054c6178fe713100 Mon Sep 17 00:00:00 2001
++From: Rob Browning <rlb@defaultvalue.org>
++Date: Mon, 4 Apr 2011 22:46:26 -0500
++Subject: Cause the build to fail if liblockfile isn't selected for movemail.
++
++The build will fail if liblockfile isn't selected for movemail.
++
++This makes sure the Debian Emacs won't accidentally be built with the
++wrong locking strategy.  To disable this check, comment out
++require-movemail-use-liblockfile.diff in debian/patches/series.
++
++Author: Rob Browning <rlb@defaultvalue.org>
++Added-by: Rob Browning <rlb@defaultvalue.org>
++---
++ lib-src/movemail.c |    4 ++++
++ src/s/bsd-common.h |    4 ++++
++ 2 files changed, 8 insertions(+), 0 deletions(-)
++
++diff --git a/lib-src/movemail.c b/lib-src/movemail.c
++index 5fcc6de..58add49 100644
++--- a/lib-src/movemail.c
+++++ b/lib-src/movemail.c
++@@ -166,6 +166,10 @@ int mbx_delimit_end ();
++ /* Nonzero means this is name of a lock file to delete on fatal error.  */
++ char *delete_lockname;
++ 
+++#ifndef MAIL_USE_MAILLOCK
+++#error "Debian requires that mail locking be handled by liblockfile."
+++#endif /* ndef MAIL_USE_MAILLOCK */
+++
++ int
++ main (argc, argv)
++      int argc;
++diff --git a/src/s/bsd-common.h b/src/s/bsd-common.h
++index 7889255..56fcb4a 100644
++--- a/src/s/bsd-common.h
+++++ b/src/s/bsd-common.h
++@@ -66,7 +66,11 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
++    The alternative is that a lock file named
++    /usr/spool/mail/$USER.lock.  */
++ 
+++/* conditional copied from gnu-linux.h */
+++#if !((defined (HAVE_LIBMAIL) || defined (HAVE_LIBLOCKFILE)) && \
+++      defined (HAVE_MAILLOCK_H))
++ #define MAIL_USE_FLOCK
+++#endif
++ 
++ /* Define CLASH_DETECTION if you want lock files to be written
++    so that Emacs can tell instantly when you try to modify
++-- 
++1.7.4.1
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..293176b8612f9b3c6a1310aa58fe091370022b90
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,112 @@@
++From 7ab2699f68cd8227e58bc2177cc48b4239eb929e Mon Sep 17 00:00:00 2001
++From: Rob Browning <rlb@defaultvalue.org>
++Date: Mon, 4 Apr 2011 22:46:27 -0500
++Subject: Avoid silently losing mail via fakemail.
++
++An attempt is made to avoid silently losing mail via fakemail.
++
++This fix attempts to avoid a situation where Emacs can silently lose
++mail.  This can occur if sendmail.el (at least) falls back to
++fakemail, and the underlying binary (MAIL_PROGRAM_NAME) that fakemail
++is configured to use doesn't exist.  Unless mail-interactive is true,
++Emacs won't wait for the mailer and so won't know that fakemail
++failed.
++
++For now, Debian sets fakemail's MAIL_PROGRAM_NAME to /usr/bin/mail
++(which is the correct value for Debian systems) rather than /bin/mail.
++Debian also adjusts Emacs to test whether or not /usr/bin/mail exists
++and is executable.  If either of these tests fail, then
++mail-interactive is set to t.  That should ensure that a user will
++actually see an error if they attempt to use the broken fakemail.
++
++Note that Debian actually forces the MAIL_PROGRAM_NAME value to
++/usr/bin/mail.  The build will fail if any other value is specified.
++This is done to ensure that MAIL_PROGRAM_NAME isn't accidentally set
++to some other value during the build process.  If this is undesirable
++for some reason, just comment out avoid-fakemail-loss.diff in
++debian/patches/series.
++
++Author: Rob Browning <rlb@defaultvalue.org>
++Added-by: Rob Browning <rlb@defaultvalue.org>
++---
++ lib-src/fakemail.c    |    6 ++++--
++ lisp/gnus/message.el  |    8 +++++++-
++ lisp/mail/feedmail.el |    7 ++++++-
++ lisp/mail/sendmail.el |    7 ++++++-
++ 4 files changed, 23 insertions(+), 5 deletions(-)
++
++diff --git a/lib-src/fakemail.c b/lib-src/fakemail.c
++index f83c0fb..5c5fb6d 100644
++--- a/lib-src/fakemail.c
+++++ b/lib-src/fakemail.c
++@@ -136,8 +136,10 @@ struct linebuffer lb;
++ #define NIL ((line_list) NULL)
++ #define INITIAL_LINE_SIZE 200
++ 
++-#ifndef MAIL_PROGRAM_NAME
++-#define MAIL_PROGRAM_NAME "/bin/mail"
+++#ifdef MAIL_PROGRAM_NAME
+++#error "Debian assumption violated -- see avoid-fakemail-mail-loss.diff"
+++#else
+++#define MAIL_PROGRAM_NAME "/usr/bin/mail"
++ #endif
++ 
++ static char *my_name;
++diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
++index 63fcf50..d6a417a 100644
++--- a/lisp/gnus/message.el
+++++ b/lisp/gnus/message.el
++@@ -4609,7 +4609,13 @@ If you always want Gnus to send messages in one piece, set
++                                   "/usr/lib/sendmail")
++                                  ((file-exists-p "/usr/ucblib/sendmail")
++                                   "/usr/ucblib/sendmail")
++-                                 (t "fakemail"))
+++                                 (t
+++                                     (if (not (file-executable-p
+++                                               "/usr/bin/mail"))
+++                                         (progn
+++                                           (message "/usr/bin/mail is not an executable.  Setting mail-interactive to t.")
+++                                           (setq mail-interactive t)))
+++                                     "fakemail"))
++                            nil errbuf nil "-oi")
++                      message-sendmail-extra-arguments
++                      ;; Always specify who from,
++diff --git a/lisp/mail/feedmail.el b/lisp/mail/feedmail.el
++index 77d82f6..29cc891 100644
++--- a/lisp/mail/feedmail.el
+++++ b/lisp/mail/feedmail.el
++@@ -1327,7 +1327,12 @@ complicated cases."
++                            "/usr/lib/sendmail")
++                           ((file-exists-p "/usr/ucblib/sendmail")
++                            "/usr/ucblib/sendmail")
++-                          (t "fakemail"))
+++                          (t
+++                              (if (not (file-executable-p "/usr/bin/mail"))
+++                                  (progn
+++                                    (message "/usr/bin/mail is not an executable.  Setting mail-interactive to t.")
+++                                    (setq mail-interactive t)))
+++                              "fakemail"))
++                     nil errors-to nil "-oi" "-t")
++               ;; provide envelope "from" to sendmail; results will vary
++               (list "-f" user-mail-address)
++diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
++index 8cd6503..1adc2ca 100644
++--- a/lisp/mail/sendmail.el
+++++ b/lisp/mail/sendmail.el
++@@ -52,7 +52,12 @@
++     ((file-exists-p "/usr/sbin/sendmail") "/usr/sbin/sendmail")
++     ((file-exists-p "/usr/lib/sendmail") "/usr/lib/sendmail")
++     ((file-exists-p "/usr/ucblib/sendmail") "/usr/ucblib/sendmail")
++-    (t "fakemail"))                  ;In ../etc, to interface to /bin/mail.
+++    (t
+++     (if (not (file-executable-p "/usr/bin/mail"))
+++         (progn
+++           (message "/usr/bin/mail is not an executable.  Setting mail-interactive to t.")
+++           (setq mail-interactive t)))
+++     "fakemail"))                    ;In ../etc, to interface to /bin/mail.
++   "Program used to send messages."
++   :group 'mail
++   :type 'file)
++-- 
++1.7.4.1
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..e3346d3e66f08e9169343d2792e89bc94dcf5fbe
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,31 @@@
++From d72d66a692c002d0216f986ad4d76fa4eaaabc5d Mon Sep 17 00:00:00 2001
++From: Rob Browning <rlb@defaultvalue.org>
++Date: Mon, 4 Apr 2011 22:46:28 -0500
++Subject: Modify the output of (version) to indicate Debian modifications.
++
++The output of (version) has been modified to indicate Debian modifications.
++
++Author: Rob Browning <rlb@defaultvalue.org>
++Added-by: Rob Browning <rlb@defaultvalue.org>
++---
++ lisp/version.el |    4 ++--
++ 1 files changed, 2 insertions(+), 2 deletions(-)
++
++diff --git a/lisp/version.el b/lisp/version.el
++index 92eb564..f9103b1 100644
++--- a/lisp/version.el
+++++ b/lisp/version.el
++@@ -56,8 +56,8 @@ to the system configuration; look at `system-configuration' instead."
++   (interactive "P")
++   (let ((version-string
++          (format (if (not (called-interactively-p 'interactive))
++-                  "GNU Emacs %s (%s%s%s)\n of %s on %s"
++-                "GNU Emacs %s (%s%s%s) of %s on %s")
+++                  "GNU Emacs %s (%s%s%s)\n of %s on %s, modified by Debian"
+++                "GNU Emacs %s (%s%s%s) of %s on %s, modified by Debian")
++                  emacs-version
++               system-configuration
++               (cond ((featurep 'motif)
++-- 
++1.7.4.1
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..063ae917417c1c89285128c71921c9c021824e6d
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,44 @@@
++From 0d990c036114c29958aa694f5d57a1d49ab07254 Mon Sep 17 00:00:00 2001
++From: Rob Browning <rlb@defaultvalue.org>
++Date: Mon, 4 Apr 2011 22:46:29 -0500
++Subject: Look for NEWS in order to find etc/ rather than GNU.
++
++Emacs will now look for NEWS in order to find etc/ rather than GNU.
++
++Since Debian doesn't include GNU in the Debian packages (the common
++licenses are in /usr/share/common-licenses), Emacs will now look for
++NEWS to find the etc directory instead of GNU.
++
++Provided-by: Sven Joachim <svenjoac@gmx.de>
++Originally-reported-by: Bernhard Michler <Boregard@gmx.net>
++Date: Mon, 28 Apr 2008 11:20:23 +0200
++Added-by: Rob Browning <rlb@defaultvalue.org>
++Status: Debian specific
++---
++ src/callproc.c |    4 ++--
++ 1 files changed, 2 insertions(+), 2 deletions(-)
++
++diff --git a/src/callproc.c b/src/callproc.c
++index ffb7a7c..812c345 100644
++--- a/src/callproc.c
+++++ b/src/callproc.c
++@@ -1509,14 +1509,14 @@ init_callproc ()
++ 
++       srcdir = Fexpand_file_name (build_string ("../src/"),
++                                build_string (PATH_DUMPLOADSEARCH));
++-      tem = Fexpand_file_name (build_string ("GNU"), Vdata_directory);
+++      tem = Fexpand_file_name (build_string ("NEWS"), Vdata_directory);
++       tem1 = Ffile_exists_p (tem);
++       if (!NILP (Fequal (srcdir, Vinvocation_directory)) || NILP (tem1))
++      {
++        Lisp_Object newdir;
++        newdir = Fexpand_file_name (build_string ("../etc/"),
++                                    build_string (PATH_DUMPLOADSEARCH));
++-       tem = Fexpand_file_name (build_string ("GNU"), newdir);
+++       tem = Fexpand_file_name (build_string ("NEWS"), newdir);
++        tem1 = Ffile_exists_p (tem);
++        if (!NILP (tem1))
++          Vdata_directory = newdir;
++-- 
++1.7.4.1
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..cb57ff9ca0643f27dc5012fc26d0d661d51add7c
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,35 @@@
++From 13c08a7c91dfd6a6334d7f06d2e7b1dbb7bfb208 Mon Sep 17 00:00:00 2001
++From: Rob Browning <rlb@defaultvalue.org>
++Date: Mon, 4 Apr 2011 22:46:30 -0500
++Subject: Invoke the correct xmlstarlet executable on Debian systems.
++
++Emacs now invokes the correct xmlstarlet executable on Debian systems.
++
++Emacs invokes xmlstarlet rather than xml, which is the correct
++executable name on Debian systems.
++
++Provided-by: Jussi Judin <jjudin+debian@iki.fi>
++Date: Sat, 20 Oct 2007 14:42:02 UTC
++Added-by: Rob Browning <rlb@defaultvalue.org>
++Status: Debian specific
++Bug: 447378
++---
++ lisp/progmodes/flymake.el |    2 +-
++ 1 files changed, 1 insertions(+), 1 deletions(-)
++
++diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
++index da28a2e..81f6017 100644
++--- a/lisp/progmodes/flymake.el
+++++ b/lisp/progmodes/flymake.el
++@@ -1760,7 +1760,7 @@ Use CREATE-TEMP-F for creating temp copy."
++ 
++ ;;;; xml-specific init-cleanup routines
++ (defun flymake-xml-init ()
++-  (list "xml" (list "val" (flymake-init-create-temp-buffer-copy 'flymake-create-temp-inplace))))
+++  (list "xmlstarlet" (list "val" (flymake-init-create-temp-buffer-copy 'flymake-create-temp-inplace))))
++ 
++ (provide 'flymake)
++ 
++-- 
++1.7.4.1
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..ff26fa264da8012d0a7c9b0dc4b746d02f4c4fef
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,35 @@@
++From feae0003be258bfed4dee8d6706462a0624068da Mon Sep 17 00:00:00 2001
++From: Rob Browning <rlb@defaultvalue.org>
++Date: Mon, 4 Apr 2011 22:46:32 -0500
++Subject: Fix startup hang on Debian GNU/kFreeBSD.
++
++Emacs should no longer hang on startup on Debian GNU/kFreeBSD.
++
++Date: Thu Aug 12 04:21:09 UTC 2010
++Added-by: Rob Browning <rlb@defaultvalue.org>
++Provided-By: Petr Salinger <Petr.Salinger@seznam.cz>
++Bug: 559392
++Status: new
++---
++ src/s/gnu-kfreebsd.h |    5 +++++
++ 1 files changed, 5 insertions(+), 0 deletions(-)
++
++diff --git a/src/s/gnu-kfreebsd.h b/src/s/gnu-kfreebsd.h
++index a1e8c02..89563de 100644
++--- a/src/s/gnu-kfreebsd.h
+++++ b/src/s/gnu-kfreebsd.h
++@@ -5,6 +5,11 @@
++ #undef SYSTEM_TYPE
++ #define SYSTEM_TYPE "gnu/kfreebsd" /* All the best software is free */
++ 
+++#undef INTERRUPT_INPUT
+++#define BROKEN_SIGIO
+++#define BROKEN_SIGURG
+++#define BROKEN_SIGPOLL
+++
++ #define NO_TERMIO               /* use only <termios.h> */
++ 
++ /* arch-tag: 8d098200-2586-469e-99ab-6d092c035e03
++-- 
++1.7.4.1
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..56e501e98e1fd32e456f05ad5687c4bef8055fe1
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,40 @@@
++From c58e9cd9eb3d4b49b97548cd9986743bcc9a9370 Mon Sep 17 00:00:00 2001
++From: Rob Browning <rlb@defaultvalue.org>
++Date: Wed, 6 Apr 2011 21:44:42 -0500
++Subject: Don't clear FONTCONFIG_LIBS and FONTCONFIG_CFLAGS in configure.
++
++The build should no longer fail when linking with --no-add-needed
++
++Previously, configure would clear FONTCONFIG_LIBS and
++FONTCONFIG_CFLAGS.  This would break the build when compiling with a
++linker that defaults to --no-add-needed.  For example:
++
++  /usr/bin/ld: ftfont.o: undefined reference to symbol 'FcInit'
++
++configure should no longer clear these variables.
++
++Author: Reinhard Tartler <siretart@tauware.de>
++Added-by: Rob Browning <rlb@defaultvalue.org>
++---
++ configure.in |    4 ----
++ 1 files changed, 0 insertions(+), 4 deletions(-)
++
++diff --git a/configure.in b/configure.in
++index baacfe4..0639715 100644
++--- a/configure.in
+++++ b/configure.in
++@@ -2044,11 +2044,7 @@ if test "${HAVE_X11}" = "yes"; then
++     ## We used to allow building with FreeType and without Xft.
++     ## However, the ftx font backend driver is not in good shape.
++     if test "${HAVE_XFT}" = "yes"; then
++-      dnl As we use Xft, we anyway use freetype.
++-      dnl There's no need for additional CFLAGS and LIBS.
++       HAVE_FREETYPE=yes
++-      FONTCONFIG_CFLAGS=
++-      FONTCONFIG_LIBS=
++     fi
++ 
++     HAVE_LIBOTF=no
++-- 
++1.7.4.1
++
index 255a3876cd2c6e326c1172082f8a093e0e2a4e13,0000000000000000000000000000000000000000..d085702233ea5453084250399bd38f90314861f1
mode 100644,000000..100644
--- /dev/null
@@@ -1,19 -1,0 +1,11 @@@
- 0001-debian-site-init-el.diff.patch
- 0002-debian-startup.diff.patch
- 0003-handle-dfsg-split.diff.patch
- 0004-misc-unseparated.diff.patch
- 0005-require-movemail-use-liblockfile.diff.patch
- 0006-avoid-fakemail-mail-loss.diff.patch
- 0007-version-mention-debian.diff.patch
- 0008-look-for-news-to-find-etc.diff.patch
- 0009-fix-flymake-xmlstarlet-invocation.diff.patch
- 0010-add-unix-to-cpp-undefs.diff.patch
- 0011-fix-gnu-kfreebsd-startup.diff.patch
- 0012-prevent-string-stack-overflow.diff.patch
- 0013-prevent-let-eval-apply-stack-overflow.diff.patch
- 0014-use-safe-alloca-lisp-in-let-eval-apply-apply_lambda..patch
- 0015-fix-gnus-output-to-mail-with-live-rmail-buffers.diff.patch
- 0016-fix-fc-dual-font-width-calculation.diff.patch
- 0017-do-not-initialize-terminal-twice.diff.patch
- 0018-fix-epg-digest-algorithm-alist.diff.patch
- 0019-mention-maximized-in-emacs-manpage.diff.patch
++0001-Prefer-usr-share-info-emacs-23-over-usr-share-info.patch
++0002-Run-debian-startup-and-set-debian-emacs-flavor.patch
++0003-Remove-files-that-appear-to-be-incompatible-with-the.patch
++0004-Adjust-documentation-references-for-Debian.patch
++0005-Cause-the-build-to-fail-if-liblockfile-isn-t-selecte.patch
++0006-Avoid-silently-losing-mail-via-fakemail.patch
++0007-Modify-the-output-of-version-to-indicate-Debian-modi.patch
++0008-Look-for-NEWS-in-order-to-find-etc-rather-than-GNU.patch
++0009-Invoke-the-correct-xmlstarlet-executable-on-Debian-s.patch
++0010-Fix-startup-hang-on-Debian-GNU-kFreeBSD.patch
++0011-Don-t-clear-FONTCONFIG_LIBS-and-FONTCONFIG_CFLAGS-in.patch